<template>
  <div class="home">
    <sorting-home v-if="user_type === 2"></sorting-home>
    <cooperate-home v-if="user_type === 4"></cooperate-home>
    <enterpriseHome v-if="user_type === 1"></enterpriseHome>
  </div>
</template>

<script>
	import {mapGetters} from "vuex";
	import cooperateHome from "./cooperateHome";
	import sortingHome from "./sortingHome";
  import enterpriseHome from "./enterpriseHome";
	export default {
		name: "home",
		props: {},
		data() {
			return {};
		},
		computed: {
			...mapGetters(['user_type']),
    },
		watch: {},
		components: {
			cooperateHome,
			sortingHome,
			enterpriseHome
    },
		methods: {},
		mounted() {
		},
		created() {
		}
	}
</script>

<style scoped lang="less" src="@/style/home/index.less">

</style>
